package model

import (
	"time"
)

type DataAttrModel struct {
	ID        uint `gorm:"primaryKey"`
	CreatedAt time.Time
	UpdatedAt time.Time

	Name    string `gorm:"comment:模型名称"`
	DataKey string `gorm:"comment:数据key"`
	DataUrl string `gorm:"comment:数据url"`
	UserUrl string `gorm:"comment:用户数据url"`
	Note    string `gorm:"comment:备注"`
	State   int    `gorm:"comment:状态;default:1"` // 1:启用 2:禁用
}
